package com.tjmc.company.api.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;


@Getter
@Schema(description = "工作经验")
public enum WorkExperienceEnum {
    FRESH_GRADUATES("FRESH_GRADUATES", "应届生"),
    NONE("NONE", "无经验"),
    ONE("ONE", "一年以下"),
    ONE_THREE("ONE_THREE", "1-3年"),
    THREE_FIVE("THREE_FIVE", "3-5年"),
    FIVE_TEN("FIVE_TEN", "5-10年"),
    TEN("TEN", "10年及以上");

    @EnumValue
    private final String value;
    private final String desc;

    WorkExperienceEnum(String value, String desc) {
        this.value = value;
        this.desc = desc;
    }

}
